package com.secxiot.provider.task.dao;

import com.secxiot.provider.task.entity.SosDisease;
import com.secxiot.provider.task.entity.SosDiseaseExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SosDiseaseDao {
    int countByExample(SosDiseaseExample example);

    int deleteByExample(SosDiseaseExample example);

    int deleteByPrimaryKey(Long id);

    int insert(SosDisease record);

    int insertSelective(SosDisease record);

    List<SosDisease> selectByExample(SosDiseaseExample example);

    SosDisease selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SosDisease record, @Param("example") SosDiseaseExample example);

    int updateByExample(@Param("record") SosDisease record, @Param("example") SosDiseaseExample example);

    int updateByPrimaryKeySelective(SosDisease record);

    int updateByPrimaryKey(SosDisease record);
}